<template>
	<view class="page">
		<List :list="list"></List>
		
		<u-loadmore :status="status"  />
	</view>
</template>


<script>
	import loader from '@/common/loadPage.js';
	import List from "./components/goods";
	export default {
		components:{
			List
		},
		mixins: [loader],
		data() {

			return {
				list: [],
				initial: {
					geturl: "/api/index/storeGoods",
					parm: {
						store_id: ''
					},
					isPage: true
				},
				
			}
		},
		async onLoad(options) {
            if(options.id){
				this.initial.parm.store_id=options.id
			}
			this.getGoods()
		},
		methods: {


		}
	}
</script>


<style>
	.page {
		background: #F1F1F1;
		min-height: 100vh;
		width: 100%;
		display: inline-block;
	}

	
</style>
